package cn.edu.cuit.aumalls.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.edu.cuit.aumalls.entity.GoodsType;
import cn.edu.cuit.aumalls.service.GoodsTypeService;
import en.edu.cuit.aumalls.mapper.GoodsTypeMapper;

@Service("goodsTypeService")
public class GoodsTypeServiceImpl implements GoodsTypeService {

	@Autowired
	private GoodsTypeMapper goodsTypeMapper;
	
	@Override
	public List<GoodsType> showlv1() {
		List<GoodsType> list = goodsTypeMapper.findlv1();
		return list;
	}

	@Override
	public List<GoodsType> showAll() {
		List<GoodsType> list = goodsTypeMapper.findAll();
		return list;
	}

}
